package com.base.common.edu.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author Maple.Chen
 * @Description 活动课程报名记录实体
 * @Date 20:58 2021/2/3
 **/
@Data
@ApiModel(description = "活动课程报名记录实体")
@JsonIgnoreProperties(value = {"handler"})
public class HuoDongCourseRecords implements Serializable {

    private static final long serialVersionUID = 8226264302959312328L;
    @ApiModelProperty( value = "活动课程id：参照活动课程实体")
    private Integer activityRecordId;
    @ApiModelProperty( value = "抢课记录生成时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty( value = "专业")
    private String stuSpeciality;
    @ApiModelProperty( value = "班级")
    private String stuClass;
    @ApiModelProperty( value = "姓名")
    private String stuName;
    @ApiModelProperty( value = "学号")
    private String stuNo;
    @ApiModelProperty( value = "活动课程参加状态（-2:已取消,-1:待上课,0:已完成,1:不合格）")
    private Integer status;
    @ApiModelProperty( value = "操作人")
    private Student student;

}
